<!--

    Copyright (c) 2005, 2018 Oracle and/or its affiliates. All rights reserved.
    Portions Copyright &#169; [2017-2020] Payara Foundation and/or affiliates.

    This program and the accompanying materials are made available under the
    terms of the Eclipse Public License v. 2.0, which is available at
    http://www.eclipse.org/legal/epl-2.0.

    This Source Code may also be made available under the following Secondary
    Licenses when the conditions for such availability set forth in the
    Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
    version 2 with the GNU Classpath Exception, which is available at
    https://www.gnu.org/software/classpath/license.html.

    SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0

-->

<p><a id="task-webcontainerstoreprops" name="task-webcontainerstoreprops"></a><a id="GHWEB00033" name="GHWEB00033"></a></p>

<h4><a id="sthref12" name="sthref12"></a><a id="sthref13" name="sthref13"></a><a id="sthref14" name="sthref14"></a>To Configure Store Properties for the Web Container</h4>
<a name="BEGIN" id="BEGIN"></a>
<ol>
<li>
<p>In the navigation tree, expand the Configuration node.</p>
</li>
<li>
<p>Select the configuration that you are changing.</p>
</li>
<li>
<p>Under the configuration's node, select the Web Container node.</p>
<p>The General Properties page opens.</p>
</li>
<li>
<p>On the General Properties page, click the Store Properties tab.</p>
<p>The Store Properties page opens.</p>
</li>
<li>
<p>In the Directory field, type the absolute or relative pathname of the directory into which individual session files are written.</p>
<p>The default value is <i>domain-dir</i><code>/generated/jsp/j2ee-apps/</code><i>appname</i><code>/</code><i>appname</i><code>_war</code>.</p>
<p>A relative path is relative to the temporary work directory for this web application.</p>
<p>This setting is applicable only if the Persistence Type is <code>file</code>. To set the Persistence Type, see <a href="task-webcontaineravailability.html">To Configure Availability Settings for the Web Container</a>.</p>
</li>
<li>
<p>In the Additional Properties section, specify additional properties.</p>
<p>The Payara Server does not define any additional properties for the store.</p>
<ul>
<li>
<p>To add a property, click the Add Property button. In the blank row that appears, type the property name in the Name field, and type the property value in the Value field.</p>
</li>
<li>
<p>To modify a property, edit that property's Value field.</p>
</li>
<li>
<p>To delete a property, select the checkbox to the left of the Name field of the property that you are deleting, then click the Delete Properties button.</p>
</li>
</ul>
</li>
<li>
<p>Click Save.</p>
</li>
</ol>
<a id="sthref15" name="sthref15"></a>
<h5>See Also</h5>
<ul>
<li>
<p><a href="task-webcontainergeneral.html">To Configure General Properties for the Web Container</a></p>
</li>
<li>
<p><a href="task-webcontainersessiontimeout.html">To Configure Session Properties for the Web Container</a></p>
</li>
<li>
<p><a href="task-webcontainermanagerprops.html">To Configure Manager Properties for the Web Container</a></p>
</li>
<li>
<p><a href="task-webcontaineravailability.html">To Configure Availability Settings for the Web Container</a></p>
</li>
</ul>


<small>Copyright &#169; 2005, 2017, Oracle and/or its affiliates. All rights reserved. <a href="docinfo.html">Legal Notices</a></small>
<small>Portions Copyright &#169; [2017-2020] Payara Foundation and/or affiliates.</small>
